package com.lcf.user.mapper;

import com.lcf.user.entity.PortraitLib;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PortraitLibMapper {

    int insert(PortraitLib portraitLib);

    int deleteByPrimaryKey(Long storageId);

    int updateByPrimaryKey(PortraitLib portraitLib);

    int batchUpdate(@Param("ids") List<PortraitLib> ids);

    PortraitLib findPortraitLibByName(String storageName);

    List<PortraitLib> findAllPortraitLib();

//    List<String> findStorageIdPortraitLib();
}
